home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
health
/
child1a.frm
< prev
next >
Wrap
Text File
|
1993-07-22
|
4KB
|
142 lines
VERSION 2.00
Begin Form MDIChild1A
BackColor = &H00C0C0C0&
Caption = "COGNITIVE / PERCEPTUAL PATTERN"
ClientHeight = 4020
ClientLeft = 30
ClientTop = 1575
ClientWidth = 9360
Height = 4425
Left = -30
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 4020
ScaleWidth = 9360
Top = 1230
Width = 9480
Begin VBedit BEdit1A
CellHeight = 500
CellWidth = 500
CombBaseLine = 500
CombEndHeight = 360
CombEndMarker = 0 'False
CombHeight = 270
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Arial"
FontSize = 24
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 855
InflateBottom = 180
InflateLeft = 180
InflateRight = 180
InflateTop = 240
Left = 960
TabIndex = 4
Top = 0
Version = 268435458
Width = 7695
End
Begin AniPushButton AniButton3A
BackColor = &H00C0C0C0&
Cycle = 2 '2-state 1/2 & 1/2
Height = 480
Left = 8880
PictDrawMode = 1 'Autosize control
Picture = CHILD1A.FRX:0000
TabIndex = 3
Top = 120
Width = 480
End
Begin VHedit HEdit1A
FontBold = 0 'False
FontItalic = 0 'False
FontName = "Arial"
FontSize = 24
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 540
InflateBottom = 270
InflateLeft = 270
InflateRight = 270
InflateTop = 270
Left = 8760
TabIndex = 2
Top = 720
Version = 268435458
Visible = 0 'False
Width = 495
End
Begin ListBox List1
BackColor = &H00FF0000&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "Arial"
FontSize = 12
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FFFFFF&
Height = 3165
Index = 1
Left = 4680
TabIndex = 1
Top = 1080
Width = 4815
End
Begin ListBox List1
BackColor = &H00FF0000&
FontBold = -1 'True
FontItalic = 0 'False
FontName = "Arial"
FontSize = 12
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FFFFFF&
Height = 3165
Index = 0
Left = 0
TabIndex = 0
Top = 1080
Width = 4695
End
End
Sub AniButton3A_Click ()
Select Case anibutton3A.Value
Case 2
editswap bedit1A, hedit1A, 1
hedit1A.Visible = -1
bedit1A.Visible = 0
appendflag1 = -1
Case 1
editswap bedit1A, hedit1A, 2
hedit1A.Visible = 0
bedit1A.Visible = -1
appendflag1 = 0
End Select
End Sub
Sub List1_Click (Index As Integer)
If appendflag1 Then
Select Case Index
Case 0
LIST1(1).AddItem LIST1(0).List(LIST1(0).ListIndex) + " " + bedit1A.Text
Case 1
LIST1(1).RemoveItem LIST1(1).ListIndex
End Select
Else
Select Case Index
Case 0
LIST1(1).AddItem LIST1(0).List(LIST1(0).ListIndex)
Case 1
LIST1(1).RemoveItem LIST1(1).ListIndex
End Select
End If
End Sub